-- GENERATED SPELL FOR [55-D Collect-a-tron] --


function spell0_25793(pUnit, Event) --@Dump Oil,n/a--
pUnit:FullCastSpellOnTarget(50269,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_25793', 8262, 1)
end

function Sorts_25793(pUnit, Event)
local choix_sorts_25793 = math.random(0, 0)
if choix_sorts_25793 == 0 then
pUnit:RegisterEvent('spell0_25793', 1, 1)
end
end

function mob25793_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_25793', math.random(1500, 3000), 1)
end

function mob25793_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25793_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25793_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(25793, 1, 'mob25793_Action')
RegisterUnitEvent(25793, 2, 'mob25793_Leave')
RegisterUnitEvent(25793, 3, 'mob25793_Kill')
RegisterUnitEvent(25793, 4, 'mob25793_Die')
